package com.hushow.bus.demo.event;


import com.hushow.bus.demo.dto.RouteInfo;
import lombok.Getter;
import lombok.Setter;
import org.springframework.cloud.bus.event.Destination;
import org.springframework.cloud.bus.event.RemoteApplicationEvent;

/**
 * 定义路由配置事件
 */
@Getter
@Setter
public class RouteRemoteApplicationEvent extends RemoteApplicationEvent {

    public RouteRemoteApplicationEvent() {
    }

    public RouteRemoteApplicationEvent(RouteInfo user, String originService, Destination destination) {
        super(user, originService, destination);
    }

}
